from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import ProjectViewSet, VersionViewSet, ProductLineViewSet

router = DefaultRouter()
router.register(r'projects', ProjectViewSet)
router.register(r'versions', VersionViewSet)
router.register(r'product_lines', ProductLineViewSet)

urlpatterns = [
    path('', include(router.urls)),
]